package com.pinda.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.pinda.auth.entity.PdAuthRole;
import com.pinda.auth.search.PdAuthRoleSearch;
import com.pinda.authorization.entity.Role;
import com.pinda.commonutils.Page;

import java.util.List;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-13
 */
public interface RoleService extends IService<Role> {
    /**
     * TODO 根据用户编号查询用户拥有的角色
     * @param userId
     * @return List<Role>
     */
    List<Role> findUserIdRoleService(String userId);
}
